// import { $t } from "@/plugins/i18n";
const { VITE_HIDE_HOME } = import.meta.env;

const Layout = () => import("@/pages/layout/index.vue");

export default {
  path: "/",
  name: "Page",
  component: Layout,
  redirect: "/home",
  meta: {
    icon: "ep:home-filled",
    // title: $t("menus.birdHome"),
    rank: 0
  },
  children: [
    {
      path: "/home",
      name: "Home",
      component: () => import("@/pages/home/index.vue"),
      meta: {
        // title: $t("menus.birdHome"),
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    },
    {
      path: "/about",
      name: "About",
      component: () => import("@/pages/about/index.vue"),
      meta: {
        // title: $t("menus.birdHome"),
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    }
  ]
} satisfies RouteConfigsTable;